<?php
namespace Moyu\CloudEncrypt;

use Exception;

class CloudEncryptException extends Exception{
    const ERROR_CLONE = "Can't Clone This Class";
    const ERROR_DRIVER_NOT_EXIST = "Don't Support This Encrypt Driver";
    const ERROR_PARAMETER = "Parameter [%s] Doesn't Be Empty";
    const ERROR_FILE = "%s is not a file";
    const ERROR_ENCRYPT_DOWN = "Must Be Encrypt Before Download";

    const ERROR_CLONE_CODE = 0x0001;
    const ERROR_DRIVER_NOT_EXIST_CODE = 0x0002;
    const ERROR_PARAMETER_CODE = 0x0003;
    const ERROR_FILE_CODE = 0x0004;
    const ERROR_ENCRYPT_DOWN_CODE = 0x0005;
}